﻿@{
    ViewBag.Title = "Test";
}


@{
    foreach (var dept in new RBS.Core.BLL.Hotel.H_Hotels_Role().GetModelList(""))
    {
    <h2>@dept.RoleName</h2>
    <table>
        <tr>
            <th>菜名</th>
            <th>数量</th>
            <th>状态</th>
              <th>操作</th>
        </tr> 
        @foreach (var order in new RBS.Core.BLL.V_OrderDept().GetModelList("deptid=" + @dept.Id))
        {    
            <tr>
                <td>@order.cName</td>
                <td>@order.Num</td>
                <td>@order.State</td>
                <td>
                    上菜 ，烹饪， 
                </td>
            </tr>
        }
    </table>
  
    }
    
}
